home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gettext.idb / usr / freeware / catman / u_man / cat1 / msggrep.Z / msggrep
Text File  |  2002-04-08  |  5KB  |  145 lines

  1. MSGGREP(1)               GNU               MSGGREP(1)
  2.  
  3.  
  4.  
  5. NNAAMMEE
  6.        msggrep - pattern matching on message catalog
  7.  
  8. SSYYNNOOPPSSIISS
  9.        mmssggggrreepp [_O_P_T_I_O_N]    [_I_N_P_U_T_F_I_L_E]
  10.  
  11. DDEESSCCRRIIPPTTIIOONN
  12.        Extracts     all messages of a translation catalog that match
  13.        a given pattern or belong to some given source files.
  14.  
  15.        Mandatory arguments to  long  options  are  mandatory  for
  16.        short options too.
  17.  
  18.    IInnppuutt ffiillee llooccaattiioonn::
  19.        INPUTFILE
  20.           input PO file
  21.  
  22.        --DD, ----ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
  23.           add DIRECTORY to list for    input files search
  24.  
  25.        If no input file    is given or if it is -,    standard input is
  26.        read.
  27.  
  28.    OOuuttppuutt ffiillee llooccaattiioonn::
  29.        --oo, ----oouuttppuutt--ffiillee=_F_I_L_E
  30.           write output to specified    file
  31.  
  32.        The results are written to standard output  if  no  output
  33.        file is specified or if it is -.
  34.  
  35.    MMeessssaaggee sseelleeccttiioonn::
  36.           [-N  SOURCEFILE]...  [-M    DOMAINNAME]... [-K MSGID-
  37.           PATTERN] [-T MSGSTR-PATTERN]
  38.  
  39.        A message is selected if    it comes from one of  the  speci
  40.        fied  source  files, or if it comes from    one of the speci
  41.        fied domains, or    if --KK is given    and  its  key  (msgid  or
  42.        msgid_plural) matches MSGID-PATTERN, or if --TT is    given and
  43.        its translation (msgstr)    matches    MSGSTR-PATTERN.
  44.  
  45.        When more than one selection criterion is  specified,  the
  46.        set of selected messages    is the union of    the selected mes
  47.        sages of    each criterion.
  48.  
  49.    MMSSGGIIDD--PPAATTTTEERRNN oorr MMSSGGSSTTRR--PPAATTTTEERRNN ssyynnttaaxx::
  50.           [-E | --FF]]    [-e PATTERN | --ff FILE]...
  51.  
  52.        PATTERNs    are basic  regular  expressions     by  default,  or
  53.        extended     regular  expressions  if  --EE  is given, or fixed
  54.        strings if --FF is    given.
  55.  
  56.        --NN, ----llooccaattiioonn=_S_O_U_R_C_E_F_I_L_E
  57.           select messages extracted    from SOURCEFILE
  58.  
  59.        --MM, ----ddoommaaiinn=_D_O_M_A_I_N_N_A_M_E
  60.           select messages belonging    to domain DOMAINNAME
  61.  
  62.        --KK, ----mmssggiidd
  63.           start of patterns    for the    msgid
  64.  
  65.        --TT, ----mmssggssttrr
  66.           start of patterns    for the    msgstr
  67.  
  68.        --EE, ----eexxtteennddeedd--rreeggeexxpp
  69.           PATTERN is an extended regular expression
  70.  
  71.        --FF, ----ffiixxeedd--ssttrriinnggss
  72.           PATTERN is a set of newline-separated strings
  73.  
  74.        --ee, ----rreeggeexxpp=_P_A_T_T_E_R_N
  75.           use PATTERN as a regular expression
  76.  
  77.        --ff, ----ffiillee=_F_I_L_E
  78.           obtain PATTERN from FILE
  79.  
  80.        --ii, ----iiggnnoorree--ccaassee
  81.           ignore case distinctions
  82.  
  83.    OOuuttppuutt ddeettaaiillss::
  84.        ----nnoo--eessccaappee
  85.           do not use C escapes in output (default)
  86.  
  87.        ----eessccaappee
  88.           use C escapes in output, no extended chars
  89.  
  90.        ----ffoorrccee--ppoo
  91.           write PO file even if empty
  92.  
  93.        ----iinnddeenntt
  94.           indented output style
  95.  
  96.        ----nnoo--llooccaattiioonn
  97.           suppress '#: filename:line' lines
  98.  
  99.        ----aadddd--llooccaattiioonn
  100.           preserve '#: filename:line' lines    (default)
  101.  
  102.        ----ssttrriicctt
  103.           strict Uniforum output style
  104.  
  105.        --ww, ----wwiiddtthh=_N_U_M_B_E_R
  106.           set output page width
  107.  
  108.        ----ssoorrtt--oouuttppuutt
  109.           generate sorted output
  110.  
  111.        ----ssoorrtt--bbyy--ffiillee
  112.           sort output by file location
  113.  
  114.    IInnffoorrmmaattiivvee oouuttppuutt::
  115.        --hh, ----hheellpp
  116.           display this help    and exit
  117.  
  118.        --VV, ----vveerrssiioonn
  119.           output version information and exit
  120.  
  121. AAUUTTHHOORR
  122.        Written by Bruno    Haible.
  123.  
  124. RREEPPOORRTTIINNGG BBUUGGSS
  125.        Report bugs to <bug-gnu-gettext@gnu.org>.
  126.  
  127. CCOOPPYYRRIIGGHHTT
  128.        Copyright  2001-2002 Free Software Foundation, Inc.
  129.        This is free software; see the source for  copying  condi
  130.        tions.  There is    NO warranty; not even for MERCHANTABILITY
  131.        or FITNESS FOR A    PARTICULAR PURPOSE.
  132.  
  133. SSEEEE AALLSSOO
  134.        The full    documentation for mmssggggrreepp is maintained    as a Tex
  135.        info  manual.   If the iinnffoo and mmssggggrreepp programs    are prop
  136.        erly installed at your site, the    command
  137.  
  138.           iinnffoo mmssggggrreepp
  139.  
  140.        should give you access to the complete manual.
  141.  
  142.  
  143.  
  144. GNU gettext 0.11       January 2002               MSGGREP(1)
  145.